	var map;
  	function init(){
  		map = new google.maps.Map(document.getElementById("map_canvas"));
  		map.setCenter(new google.maps.LatLng(39.9493, 116.3975));
  		map.setZoom(4);
  		map.setMapTypeId(google.maps.MapTypeId.ROADMAP);
  		
  		var j=[	
  				{name:'许德',age:'男',content:'好牛X的男人。。。',x:'34.23465488484',y:'108.89648222'},
  				{name:'小丑',age:'中性',content:'好牛逼的中性',x:'12.55988777',y:'108.896488877'},
  				{name:'华仔',age:'女',content:'赛凤姐。。。',x:'25.254894498',y:'108.896482224'}
  			  ];
  		for(var x=0;x<j.length;x++){
  			var point = new google.maps.LatLng(j[x].x,j[x].y);
  			var mar = new google.maps.Marker({map:map,title:j[x].name,position:point});
  			addEvent(mar,j[x].content);
  		}
  	}
  	
  	function addEvent(marker,content){
  		var infowindow = new google.maps.InfoWindow({content:content});
  		google.maps.event.addListener(marker, 'click', function(){infowindow.open(map,marker);});
  	}